<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />
	<?php 
	// setting the controller and action name as title segments:
	$request = Zend_Controller_Front::getInstance()->getRequest();

	$this->headTitle('Admin')
		 ->headTitle($request->getControllerName())
		 ->headTitle($request->getActionName());

	// setting a separator string for segments:
	$this->headTitle()->setSeparator(' / ');
	echo $this->headTitle() ?>

	<link rel="stylesheet" href="/css/admin/style.css" type="text/css" media="screen, projection" />
	<?= $this->headScript(); ?>

</head>
<body>
	<div class="wrapper">

		<div id="header">
			<h1>Webote administration</h1>
		</div>

		<div id="navigation">
			<ul>
				<li><a href="/admin/article/">Articles</a></li>
				<li><a href="/admin/comment/">Comments</a></li>
				<li><a href="/admin/poll/">Polls</a></li>
				<li><a href="/admin/image/">Images</a></li>
				<li><a href="/admin/tag/">Tags</a></li>
				<li><a href="/admin/user/">Users</a></li>
			</ul>
		</div>
		
		<div id="logout">
			<p>You are loged in as, <?php echo Zend_Auth::getInstance()->getIdentity()->realname ?>. <a href="/user/logout/">Logout</a></p>
		</div>

		<div id="content">
			<?php echo $this->layout()->content ?>
		</div>

		<div id="sidebar">

		</div>

		<div id="footer">
			<p>Copyright &copy; <a href="http://www.webote.com/">webote cms</a></p>
		</div>

	</div>
</body>
</html>